package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum OrderTypeEnum {

    //订单类型：1报名，2补费，3转课，4退费
    NO(0,"无"),

    ORDER_TYPE_SiGN(1,"报名"),

    ORDER_TYPE_SUPP(2,"补费"),

    ORDER_TYPE_TRANSFER(3,"转课"),

    ORDER_TYPE_REFUND(4,"退费"),

    ORDER_TYPE_TRANSFER_SCHOOL(5,"转校报名"),

    ORDER_TYPE_TRANSFER_REFUND_SCHOOL(6,"转校退费"),

    ORDER_TYPE_DIS(7,"优惠"),

    ORDER_TYPE_TRANSFER_STUDENT(8,"转名额"),

    ORDER_TYPE_TRANSFER_SUBJECT(9,"转科目");

    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    OrderTypeEnum(Integer key,String value){
        this.key = key;
        this.value = value;
    }

}
